package com.yetianhua.test;

import java.io.InputStream;

/**
 * @author yetianhua
 * @className resource
 * @description TODO
 * @date 2021/5/30
 * @time 11:15
 */
public class Resource {

    public static InputStream getResourceAsSteam(String path){
        InputStream resourceAsStream = Resource.class.getClassLoader().getResourceAsStream(path);
        return resourceAsStream;
    }

}
